<html>
<body>
Reports <code>for</code> loops that can be replaced with a sequence of stdlib operations (like <code>map</code>, <code>filter</code>, and so on).
<p><b>Example:</b></p>
<pre><code>
fun foo(list: List&lt;String&gt;): List&lt;Int&gt; {
  val result = ArrayList&lt;Int&gt;()
  for (s in list) {
     if (s.length &gt; 0)
       result.add(s.hashCode())
     }
  return result
}
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
fun foo(list: List&lt;String&gt;): List&lt;Int&gt; {
  val result = list
    .filter { it.length &gt; 0 }
    .map { it.hashCode() }
  return result
}</code></pre>
</body>
</html>
